Decision Node

Different decisions can be made and different branches can be taken based on certain conditions using Decision Nodes.

For example, in the Book Store EnCap, you can give the options to your customer to select their mode of payment after their precedence to buy the books using a Decision Node.

Click in decision node to add a new condition.

First, create a form called Payment Mode with radio buttons to provide Payment Mode options.

Then add the conditions to take different branches based on the field names given in the forms.

Info! While adding the conditions, give the name of the control within {{}}.

In this simple example, a condition is made to display two forms namely Pay through Credit Card and Payment through Debit Card based on the payment mode selected by the user.

When the user selects the Debit Card option, a form will be displayed to obtain the debit card details from the customer. By default, if the Payment Mode is not equal to Debit Card, the execution will be jumped to the Credit Card Branch.

Template to say Thank you after receiving the payment from the customers is shown below:

Next guide API Node illustrates the steps to consume Twixor Compute or Custom REST APIs in your application.

 

Next Topic

API Node